<!--
    * Time    : 2020-12-28 15:25:07
    * Author  : zhangTj
    * Desc    : 余额充值说明页面
-->

<template>
    <div class="w750 bg-fff">
        <div class="rich-content">
            <div v-html="content"></div>
        </div>
    </div>
</template>

<script>
import { predepositRechargeContent } from '@/api/balance.js'

export default {
    name: '',
    components: {},
    data() {
        return {
            content: ''
        }
    },
    computed: {},
    watch: {},
    created() {},
    destroyed() {},
    mounted() {
        this.getContent()
    },
    methods: {
        // 获取充值说明内容
        getContent() {
            predepositRechargeContent()
                .then((res) => {
                    if (!res.success) return void this.$toast(res.msg)

                    this.content = res.result.content
                })
                .catch((err) => {
                })
        }
    }
}
</script>

<style scoped>
.rich-content >>> img {
    max-width: 100% !important;
}
</style>
